# 5.1 简单使用
age = 10
if age == 11:
    print("right")
else:
    print("wrong")

print()

# 多个条件
# and、or
if age > 9 and age < 11:
    print("age > 9 and age < 11")
elif age != 10 or age > 0:
    print("age != 10 or age > 0")

print()

# 列表
square = [v**2 for v in range(1, 11)]
print(f"square = {square}")
if 25 in square:
    print("25 in square")
if 5 not in square:
    print("5 not in square")

# 空列表 为 False
empty = []
if empty:
    print("Not Empty")
else:
    print("Empty")
